<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/react.development.js"></script>
    <script src="js/react-dom.development.js"></script>
    <script src="js/babel.min.js"></script>
    <script src="js/axios.min.js"></script>
</head>
<body>
<div id="root"></div>
<script type="text/babel">

    class SFZ extends React.Component {

        componentDidMount() {

        }

        componentWillUnmount() {
            alert("awdwa");
        }



        render() {
            return (
                <div>
                    <h1>hello world</h1>
                </div>
            );
        }
    }


    ReactDOM.render(<SFZ/>, document.getElementById('root'));

    // setTimeout(() => {
    //     ReactDOM.render(<h1>Bye</h1>, document.getElementById('root'));
    // }, 3000)


</script>
</body>
</html>